package com.ktwlsoft.archivemanage.payload.transfer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.time.Year;

@Getter
@Setter
public class ArchivesTransferRequest {

    @ApiModelProperty("业务id")
    @NotNull
    private Long businessId;

    @ApiModelProperty("业务来源")
    @NotNull
    private String businessFrom;

    @ApiModelProperty("移交记录JSON序列化")
    private String transferRecord;

    @ApiModelProperty("移交备注")
    private String transferRemark;

    @ApiModelProperty("档案馆名称")
    private String archiveUnit;

    @ApiModelProperty("年度")
    private Year year;
}
